﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Controls;

namespace Xiaowei.Players.XiaoweiPlayerLib
{
    public interface IXiaoweiPlayerList2:IXiaoweiPlayerList
    {
        string Title { get; }
        new XiaoweiPlayerItemBase CurrentItem { get; set; }
        bool CanGetMoreUp { get; }
        bool CanGetMoreDown { get; }
        event EventHandler<object> RequestGetMoreUp;
        event EventHandler<object> RequestGetMoreDown;
        event Action<XiaoweiPlayerItemBase> RefreshURLEnd;
        void GetMoreUp();
        void GetMoreDown();
        List<XiaoweiPlayerItemBase> Collection { get; }
        void EnqueueFront(IXiaoweiPlayerList2 xiaoweiPlayerListBase);
        void EnqueueBack(IXiaoweiPlayerList2 xiaoweiPlayerListBase);
        void RefreshURL(IXiaoweiPlayerList2 xiaoweiPlayerListBase);
        void GetURL(string playID);
    }
}
